package EjercicioExamenAntiguo;

public abstract class Empleado {

	private String name;
	private String dni;
	protected double salary;
	
	public Empleado(String name, String dni) {
		this.name = name;
		this.dni = dni;
	}
	
	public String GetName() {
		return name;
	}
	
	public String GetDni() {
		return dni;
	}
	
	public double GetSalary() {
		return salary;
	}
	
	public abstract void CalculateSalary();
	
	public abstract void ShowEmployee();
	
}
